package com.example.demo.entity.websocket;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@ToString
@Accessors(chain = true)
@TableName("message")
public class Message {
    @TableId
    private String id;
    private String handle;

    private String sendUser;

    private String receiveUser;

    private String content;

    private String isRead;

    private LocalDateTime createTime;
}

